package com.tedu.crmpx.orders.service.impl;

import com.tedu.crmpx.orders.pojo.vo.ordersVO;
import com.tedu.crmpx.orders.service.ordersService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.tedu.crmpx.orders.mapper.ordersMapper;

import java.util.Collections;
import java.util.List;

@Service
@Slf4j
public class ordersServiceImpl implements ordersService{
    @Autowired
    private ordersMapper ordersMapper;
    @Override
    public List<ordersVO> load() {
        log.debug("加载订单信息业务");
        List<ordersVO> list = ordersMapper.load();
        return list;
    }
}
